]> dgit.raspbian.org Git - gnome-shell.git/commit
main: Call RegisterDisplay once UI has initialized
authorJoan Torres Lopez <joantolo@redhat.com>
Tue, 3 Feb 2026 13:43:43 +0000 (14:43 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 4 Feb 2026 22:32:10 +0000 (22:32 +0000)
commit714332d3065a41e8bae61234cd231219cfcc95d6
treea6013a6839dc6acc3f106764474993c35d96bd5f
parentfafc0794e3ad57c3e295d268d5ea726ecb849047
main: Call RegisterDisplay once UI has initialized

RegisterDisplay is called to signal that graphics have settled,
which allows GDM to terminate pending greeters and plymouth.

Previously, RegisterSession was used for both recording the login
and terminating greeters. This caused a race condition where the
new user shell was setting up while the greeter was tearing down,
leading to configuration conflicts during the asynchronous handoff.

By splitting into RegisterSession (called early to record login) and
RegisterDisplay (called after graphics settle), the greeter teardown
is delayed until the new session has completed its initial modeset.

Fixes: 32a01330 ("main: Register session with GDM on startup")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4057>
js/misc/loginManager.js
js/ui/main.js